package com.neuedu.live.entity;

import java.sql.Connection;
import java.util.List;
import java.util.Optional;

public interface StudentInfoDao {

	
	void add(StudentInfo student,Connection conn);
	void delete(int id,Connection conn);
	void update(StudentInfo student,Connection conn);
	
	Optional<StudentInfo> findById(int id,Connection conn);
	List<StudentInfo> findByExample(StudentInfo student,Connection conn);
	List<StudentInfo> findAll(Connection conn);
}
